<!DOCTYPE html>
<html lang="en">

	<include file="Public:header" />
	<link rel="stylesheet" href="__PUBLIC__/Common/umeditor/themes/default/css/umeditor.min.css" type="text/css">
	<script language="javascript" type="text/javascript" src="__ROOT__/Statics/My97/WdatePicker.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Common/umeditor/umeditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Common/umeditor/umeditor.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Common/umeditor/lang/zh-cn/zh-cn.js"></script>
	
				
	<include file="Public:page_css" />
	<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
		<include file="Public:nav" />


			<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content no-padding">
						<ul class="list-group">
							<li class="list-group-item">
								<p class="text-success"><a href="{:U('Index/index')}" title="返回首页" class="tip-bottom"><i class="fa fa-home"></i> 首页</a> /
									<a href="" class="tip-bottom">网站管理</a> /<a href="{:U('Site/setting')}" class="current">参数设置</a></p>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>参数设置</h5>
						<div class="ibox-tools">
							<a class="collapse-link">
								<i class="fa fa-chevron-up"></i>
							</a>
						</div>
					</div>
					<div class="ibox-content">
						<form id="form-wizard" action="{:U('Site/setting')}" method="post" class="form-horizontal">
							<div class="form-group">
								<label class="col-sm-2 control-label">默认注册上限</label>
								<div class="col-sm-6">
									<input type="text" name="OpenMaxCount" value="{:C('OpenMaxCount')}" placeholder="输入路由默认注册上限" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">LOGO页面倒计时</label>
								<div class="col-sm-6">
									<input type="text" name="LogoSecond" value="{:C('LogoSecond')}" placeholder="输入LOGO页面倒计时" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">短信地址</label>
								<div class="col-sm-6">
									<input type="text" name="SmsUrl" value="{:C('SmsUrl')}" placeholder="输入短信地址" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">企业短信编号</label>
								<div class="col-sm-6">
									<input type="text" name="SmsCode" value="{:C('SmsCode')}" placeholder="输入短信账号" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">短信用户名</label>
								<div class="col-sm-6">
									<input type="text" name="SmsUser" value="{:C('SmsUser')}" placeholder="输入短信用户名" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">短信密码</label>
								<div class="col-sm-6">
									<input type="text" name="SmsPassword" value="{:C('SmsPassword')}" placeholder="输入短信密码" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">签到获得积分</label>
								<div class="col-sm-6">
									<input type="text" name="SignCount" value="{:C('SignCount')}" placeholder="签到获得积分" class="form-control">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">责任声明:</label>
								<div class="col-sm-10">
									<script type="text/plain" id="data_details" name="Message" value="{:C('copyright')}" style="width:70%;height:200px;">{:C('Message')}</script>
								</div>
							</div>
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<div class="col-sm-4 col-sm-offset-2">
									<button class="btn btn-primary" type="submit">保存信息</button>&nbsp;&nbsp;&nbsp;
									<a class="btn btn-danger" href="{:U('Index/index')}">取消</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>


		<include file="Public:footer" />
	<script language="javascript">
	    var um = UM.getEditor('data_details', {
	    imageUrl: "{:U('Upload/editor')}",
	    imagePath: '/Uploads/',
	    lang: 'zh-cn',
	    langPath: UMEDITOR_CONFIG.UMEDITOR_HOME_URL + "lang/",
	    focus: false
		 });
	 </script>
	</body>

</html>